<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>农场展示 - 智慧农业</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <style>
        body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
        
        /* 顶部Hero区域 */
        .hero-section {
            height: 500px;
            background: linear-gradient(rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)),
                        url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1200') center/cover;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .hero-content h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            animation: fadeInDown 1s;
        }
        .hero-content p {
            font-size: 1.5rem;
            margin-bottom: 30px;
            animation: fadeInUp 1s;
        }
        
        /* 产品展示卡片 */
        .product-card {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s;
            margin-bottom: 30px;
            background: white;
        }
        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }
        .product-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .product-content {
            padding: 20px;
        }
        .product-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #f5576c;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 600;
        }
        
        /* 特色区域 */
        .feature-section {
            padding: 80px 0;
            background: #f8f9fa;
        }
        .feature-box {
            text-align: center;
            padding: 30px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }
        .feature-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        .feature-box i {
            font-size: 3rem;
            color: #667eea;
            margin-bottom: 20px;
        }
        
        /* 统计区域 */
        .stats-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 60px 0;
        }
        .stat-item {
            text-align: center;
        }
        .stat-item h2 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        .stat-item p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        /* 图片展示 */
        .gallery-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s;
            cursor: pointer;
        }
        .gallery-img:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }
        
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <div class="hero-section">
        <div class="hero-content">
            <h1>🌾 绿色生态 · 智慧农场</h1>
            <p>现代科技与传统农业的完美结合</p>
            <a href="/login" class="btn btn-light btn-lg px-5">进入管理系统</a>
        </div>
    </div>

    <!-- 特色介绍 -->
    <div class="feature-section">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="fw-bold">我们的优势</h2>
                <p class="text-muted">为您提供最优质的农产品和服务</p>
            </div>
            <div class="row">
                <div class="col-md-3">
                    <div class="feature-box">
                        <i class="fas fa-leaf"></i>
                        <h5 class="fw-bold">绿色有机</h5>
                        <p class="text-muted">无农药残留，健康安全</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="feature-box">
                        <i class="fas fa-microscope"></i>
                        <h5 class="fw-bold">科学管理</h5>
                        <p class="text-muted">智能化种植，品质保证</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="feature-box">
                        <i class="fas fa-truck"></i>
                        <h5 class="fw-bold">新鲜直达</h5>
                        <p class="text-muted">产地直供，保证新鲜</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="feature-box">
                        <i class="fas fa-certificate"></i>
                        <h5 class="fw-bold">品质认证</h5>
                        <p class="text-muted">多项权威认证，值得信赖</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 产品展示 -->
    <div class="container my-5">
        <div class="text-center mb-5">
            <h2 class="fw-bold">优质农产品</h2>
            <p class="text-muted">精选当季新鲜农产品</p>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="product-card position-relative">
                    <span class="product-badge">热销</span>
                    <div class="product-image d-flex align-items-center justify-content-center">
                        <i class="fas fa-seedling fa-5x text-white"></i>
                    </div>
                    <div class="product-content">
                        <h5 class="fw-bold">优质大米</h5>
                        <p class="text-muted">粒粒饱满，口感香甜</p>
                        <div class="d-flex justify-content-between align-items-center">
                            <span class="text-danger fw-bold fs-5">¥5.8/斤</span>
                            <span class="badge bg-success">库存充足</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="product-card position-relative">
                    <span class="product-badge">新品</span>
                    <div class="product-image d-flex align-items-center justify-content-center">
                        <i class="fas fa-corn fa-5x text-white"></i>
                    </div>
                    <div class="product-content">
                        <h5 class="fw-bold">有机玉米</h5>
                        <p class="text-muted">甜度高，营养丰富</p>
                        <div class="d-flex justify-content-between align-items-center">
                            <span class="text-danger fw-bold fs-5">¥4.5/斤</span>
                            <span class="badge bg-success">库存充足</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="product-card position-relative">
                    <div class="product-image d-flex align-items-center justify-content-center">
                        <i class="fas fa-carrot fa-5x text-white"></i>
                    </div>
                    <div class="product-content">
                        <h5 class="fw-bold">新鲜蔬菜</h5>
                        <p class="text-muted">绿色无公害，当日采摘</p>
                        <div class="d-flex justify-content-between align-items-center">
                            <span class="text-danger fw-bold fs-5">¥3.2/斤</span>
                            <span class="badge bg-warning">限量</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 数据统计 -->
    <div class="stats-section">
        <div class="container">
            <div class="row">
                <div class="col-md-3">
                    <div class="stat-item">
                        <h2><i class="fas fa-map me-2"></i>200+</h2>
                        <p>种植面积（亩）</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="stat-item">
                        <h2><i class="fas fa-users me-2"></i>5000+</h2>
                        <p>服务客户</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="stat-item">
                        <h2><i class="fas fa-award me-2"></i>10+</h2>
                        <p>质量认证</p>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="stat-item">
                        <h2><i class="fas fa-smile me-2"></i>98%</h2>
                        <p>客户满意度</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 农场风采 -->
    <div class="container my-5">
        <div class="text-center mb-5">
            <h2 class="fw-bold">农场风采</h2>
            <p class="text-muted">感受大自然的美好</p>
        </div>
        <div class="row g-4">
            <div class="col-md-4">
                <div class="position-relative">
                    <div class="gallery-img d-flex align-items-center justify-content-center bg-success bg-opacity-25">
                        <i class="fas fa-mountain fa-5x text-success"></i>
                    </div>
                    <div class="text-center mt-2">
                        <h6>广阔的农田</h6>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="position-relative">
                    <div class="gallery-img d-flex align-items-center justify-content-center bg-primary bg-opacity-25">
                        <i class="fas fa-tractor fa-5x text-primary"></i>
                    </div>
                    <div class="text-center mt-2">
                        <h6>现代化设备</h6>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="position-relative">
                    <div class="gallery-img d-flex align-items-center justify-content-center bg-warning bg-opacity-25">
                        <i class="fas fa-sun fa-5x text-warning"></i>
                    </div>
                    <div class="text-center mt-2">
                        <h6>丰收的喜悦</h6>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-dark text-white py-4 mt-5">
        <div class="container text-center">
            <p class="mb-0">© 2024 智慧农业信息管理系统 | 现代农业·科技未来</p>
            <p class="mb-0 mt-2">
                <i class="fas fa-phone me-2"></i>联系电话：138-0013-8000 | 
                <i class="fas fa-envelope me-2 ms-3"></i>邮箱：farm@example.com
            </p>
        </div>
    </footer>

    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
</body>
</html>

